package com.example.maax.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName
@Data
public class Task {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private Long userId;
    private Long deviceId;
    private String type;
    private String params;
    private String payload;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
